#ifndef FINALDLG_H
#define FINALDLG_H

#include <QDialog>
#include <QLabel>

namespace Ui {
class FinalDlg;
}

class FinalDlg : public QDialog {
    Q_OBJECT

   public:
    explicit FinalDlg(QWidget *parent = nullptr);
    ~FinalDlg();
    void showBlack();
    void showWhite();

   private slots:
    void on_pushHistory_clicked();

    void on_pushReturn_clicked();

   signals:
    void showHistory();  // 显示历史记录
    void returnHome();   // 回到主界面

   private:
    Ui::FinalDlg *ui;
};

#endif  // FINALDLG_H
